package com.sz.mes.service;

import com.diboot.core.vo.JsonResult;
import com.sz.mes.dto.OutboundDTO;
import com.sz.mes.entity.Outbound;

import java.util.List;

/**
* 出库相关Service
* @author hem
* @version 1.0
* @date 2023-05-25
 * Copyright © szhs
*/
public interface OutboundService extends BaseCustomService<Outbound> {
    JsonResult otherOperation(OutboundDTO entity);

    JsonResult unOutbound(Outbound entity);

    JsonResult getDetail(Long id);

    JsonResult receive(Long outboundId);

    JsonResult getOutboundDetail(Long id);

    JsonResult getProductInfoByTaskNum(String taskNum);

    JsonResult getOutboundInfo(String outboundNum);

    JsonResult getProductInfoByReceiptNum(String receiptNum);


    JsonResult getProductShipInfoByOrderNum(String taskNum);

    JsonResult getMiscShipmentInfos(String goodCode);

    JsonResult getTotalQuantity(String receiptNum);

    JsonResult getTotalQuantityBySO(String taskNumAndGoodsCode);

    JsonResult outbound(List<Outbound> outboundList);

    JsonResult getSaleOrderInfo(String orderNumAndRow);
}
